From: Lars Ingebrigtsen Date: Thu, 8 Jul 2021 01:23:46 +0000 (+0200) Subject: Exclude term-mode from hi-lock global modes X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~18^2~2176 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=7d6d14023a4ad7907c6e10ebdb49d78f9c6393e4;p=emacs.git Exclude term-mode from hi-lock global modes * lisp/hi-lock.el (hi-lock-exclude-modes): Exclude term-mode so that `C-x' works in terminal buffers (bug#22620). --- diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index 68f8cc50549..37b88b318de 100644 --- a/lisp/hi-lock.el +++ b/lisp/hi-lock.el @@ -111,7 +111,7 @@ highlighting will be applied throughout the buffer." :group 'hi-lock) (defcustom hi-lock-exclude-modes - '(rmail-mode mime/viewer-mode gnus-article-mode) + '(rmail-mode mime/viewer-mode gnus-article-mode term-mode) "List of major modes in which hi-lock will not run. For security reasons since font lock patterns can specify function calls."